package com.qf.common.response;

public enum ResponseEnum {

    SUCCESS(1,"success",true),
    FAIL(0,"error",false),
    LOGIN_FAIL(0,"账号或密码不正确，请重试",false),
    LOGIN_SUCCESS(1,"登录成功",true);

    private Integer code;
    private String message;
    private Boolean status;

    ResponseEnum(Integer code, String message, Boolean status) {
        this.code = code;
        this.message = message;
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public Boolean getStatus() {
        return status;
    }
}
